<?
/**
 * Biblioteka obsługi SOBOL
 *
 */

class Sobol {

	private $sobolUrl;
	private $sobolMode;


	public function __construct() {

	}

	private function dataGatherer($data) {

	}

	private function dataSend() {

	}

	private function responseHandler() {

	}

	private function getToken() {
		if(Registry::Exists('sobolToken')) {
			return Registry::Get('sobolToken');
		} else {
			return $this->generateToken();
		}
	}

	private function generateToken() {
		$token = md5($_SERVER['SERVER_NAME']);

		return $token;

	}

}